package chuishop.yiqimaicai.service;

import chuishop.yiqimaicai.pojo.Orderform;

import java.util.List;

public interface OrderformService {
    /**
     * 查询所有订单明细
     * @return
     */
    List<Orderform> findAllOrderform();

    /**
     * 根据id查询订单明细信息1
     * @param input
     * @return
     */
    List<Orderform> selectOrderform(String input);

    /**
     * 添加订单明细
     * @param orderform
     * @return
     */
    boolean addOrderform(Orderform orderform);

    /**
     * 删除订单明细
     * @param ids
     * @return
     */
    boolean deleteOrderform(String[] ids);

    /**
     * 更新订单明细信息
     * @param orderform
     * @return
     */
    boolean updateOrderform(Orderform orderform);
}
